﻿<%@ Import Namespace="APMS.WebSite.Models.ViewData" %>

<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ControlPanel.ascx.cs" Inherits="APMS.WebSite.Views.Shared.UserControls.ControlPanel" %>

<div id="control">
    <div class="wrapper">
        <div class="crumbTrail">
            <span><%=Html.ActionLink<ProjectController>(x => x.List(), "Project List")%></span>
        </div>
        <ul class="controlPanel">
            <li>Welcome <%=ViewData.Model.UserName %></li>
            <li>|</li>
            <li><%=Html.ActionLink<UserController>(x => x.Update(ViewData.Model.UserName), "My Profile")%></li>
            <li>|</li>
            <li><%=Html.ActionLink<UserController>(x=>x.Logout(), "Logout") %></li> 
        </ul>
        <div class="clear"></div>
    </div>
</div>